<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.microsoft.com/dynamics/2008/01/documents/EventAlertForUser" xmlns:st="http://schemas.microsoft.com/dynamics/2008/01/sharedtypes" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/dynamics/2008/01/documents/EventAlertForUser" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://ax2012r2a.contoso.com:89/MicrosoftDynamicsAXAif60/WorkListService/xppservice.svc?xsd=xsd6" namespace="http://schemas.microsoft.com/dynamics/2008/01/sharedtypes" />
  <xs:element name="EventAlertForUser" type="tns:AxdEventAlertForUser" />
  <xs:complexType name="AxdEventAlertForUser">
    <xs:sequence>
      <xs:element minOccurs="0" name="SenderId" nillable="true" type="st:AxdExtType_DataAreaId" />
      <xs:element minOccurs="0" maxOccurs="unbounded" name="EventInbox" type="tns:AxdEntity_EventInbox" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AxdEntity_EventInbox">
    <xs:sequence>
      <xs:element minOccurs="0" name="UserId" nillable="true" type="st:AxdExtType_UserId" />
      <xs:element minOccurs="0" name="Subject" nillable="true" type="st:AxdExtType_EventSubject" />
      <xs:element minOccurs="0" name="Message" nillable="true" type="st:AxdExtType_EventMessage" />
      <xs:element minOccurs="1" name="Visible" type="st:AxdExtType_NoYesId" />
      <xs:element minOccurs="0" name="TypeId" nillable="true" type="st:AxdExtType_EventTypeId" />
      <xs:element minOccurs="0" name="KeyFieldNameList" nillable="true" type="st:AxdExtType_EventFieldList" />
      <xs:element minOccurs="0" name="KeyFieldNameData" nillable="true" type="st:AxdExtType_EventFieldData" />
      <xs:element minOccurs="0" name="NotificationSource" nillable="true" type="st:AxdEnum_EventNotificationSource" />
      <xs:element minOccurs="0" name="NotificationType" nillable="true" type="st:AxdEnum_EventNotificationType" />
    </xs:sequence>
    <xs:attribute fixed="entity" name="class" use="required" />
    <xs:attribute name="action" type="st:AxdEnum_AxdEntityAction" />
  </xs:complexType>
</xs:schema>